package com.excesys.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Data
@AllArgsConstructor
@NoArgsConstructor
//es位置索引名称
@Document(indexName = "dd_goods")
public class Goods {
    @Id
    private String id;
    private String img;
    private String title;
    private Double price;
    private String store;
    private String hotWord;
}
